<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>用户详情页</title>
</head>
<style>
    /*img {*/
    /*    width: 100px;*/
    /*    height: 100px;*/
    /*    border-radius: 100%;*/
    /*}*/
</style>
<body>
<h2>用户详情页</h2>
编号：<span th:text="${user.id}"></span> <br>
昵称：<span th:text="${user.nickname}"></span> <br>
头像：<img th:src="${#strings.replace(user.avatar,'s.j','.j')}"> <br>
性别：<span th:text="${user.gender}?男:女"></span> <br>
生日：<span th:text="${user.birth}"></span> <br>
邮箱：<span th:text="${user.email}"></span> <br>
电话：<span th:text="${user.phone}"></span> <br>
账户：<span th:text="${user.account}"></span> <br>
密码：<span th:text="${user.password}"></span> <br>
状态：
<span th:if="${user.state==0}" th:text="已删除"></span>
<span th:if="${user.state==1}" th:text="正常"></span>
<span th:if="${user.state==2}" th:text="功能受限"></span>
<span th:if="${user.state==3}" th:text="活跃"></span>
<br>
注册时间：<span th:text="${#temporals.format(user.createTime,'yyyy年MM月dd日 hh:mm:ss')}"></span> <br>
最后一次修改时间：<span th:text="${#temporals.format(user.createTime,'yyyy年MM月dd日 hh:mm:ss')}"></span> <br>
<a th:href="@{/user/list}">用户列表</a>

</body>
</html>